package com.molin.threadTest.SetDeamoTest;

import java.util.concurrent.Callable;

public class MyCallable implements Callable<String> {



    @Override
    public String call() throws Exception {

        for (int i = 0; i < 10; i++) {
            System.out.println(Thread.currentThread().getName()+"---"+i);
        }
        return "女神线程执行完毕";
    }
}
